@eluan/core 0.1.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -4
- package/dist/accordion-BzmUN-cN.js +28 -0
- package/dist/{accordion-BbMxlj3j.cjs → accordion-CwCYLCam.cjs} +1 -1
- package/dist/accordion.cjs +1 -1
- package/dist/accordion.js +1 -1
- package/dist/action-popover-Bpf4SQLh.cjs +1 -0
- package/dist/action-popover-C8URIySO.js +25 -0
- package/dist/action-popover.cjs +1 -1
- package/dist/action-popover.js +1 -1
- package/dist/avatar-BGtpKaIp.js +124 -0
- package/dist/avatar-h_saVZqK.cjs +1 -0
- package/dist/avatar.cjs +1 -1
- package/dist/avatar.js +1 -1
- package/dist/badge-BMgIAfSC.cjs +1 -0
- package/dist/{badge-BZli5zpU.js → badge-NIOPu08c.js} +9 -8
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/banner-COlEFRuK.cjs +1 -0
- package/dist/{banner-CqgXXNRv.js → banner-CyYFLZXw.js} +30 -30
- package/dist/banner.cjs +1 -1
- package/dist/banner.js +1 -1
- package/dist/{breadcrumb-CUJua1hE.cjs → breadcrumb-BndfpXpd.cjs} +1 -1
- package/dist/{breadcrumb-BPB6FOAt.js → breadcrumb-BvEmqspe.js} +7 -7
- package/dist/breadcrumb.cjs +1 -1
- package/dist/breadcrumb.js +1 -1
- package/dist/button-CzuCIuTx.cjs +1 -0
- package/dist/{button-nntae7sN.js → button-DnbBpYRD.js} +58 -41
- package/dist/button.cjs +1 -1
- package/dist/button.js +1 -1
- package/dist/calendar-BksOnK5M.cjs +76 -0
- package/dist/calendar-onOz6xAu.js +315 -0
- package/dist/calendar.cjs +1 -1
- package/dist/calendar.js +1 -1
- package/dist/{card-80y0WWWV.js → card-BC_4C3ns.js} +7 -7
- package/dist/{card-D57HaBr_.cjs → card-C88--zB4.cjs} +1 -1
- package/dist/card.cjs +1 -1
- package/dist/card.js +1 -1
- package/dist/carousel-BXVJVj9A.js +174 -0
- package/dist/carousel-Bt6UvkQ8.cjs +1 -0
- package/dist/carousel.cjs +1 -1
- package/dist/carousel.js +1 -1
- package/dist/checkbox--uuKohr3.js +10 -0
- package/dist/checkbox-C7YMv2nW.cjs +1 -0
- package/dist/checkbox-group-B5UAuO0J.js +86 -0
- package/dist/checkbox-group-Dc1RAF3a.cjs +1 -0
- package/dist/checkbox-group.cjs +1 -1
- package/dist/checkbox-group.js +1 -1
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{code-block-BXOzo8zX.js → code-block-3DZZzUKL.js} +77 -70
- package/dist/{code-block-CH0gswm8.cjs → code-block-DsJwW6oD.cjs} +2 -2
- package/dist/code-block.cjs +1 -1
- package/dist/code-block.js +1 -1
- package/dist/command-C3oAkkaa.cjs +9 -0
- package/dist/command-D1iTMmyh.js +132 -0
- package/dist/command.cjs +1 -1
- package/dist/command.js +1 -1
- package/dist/components/accordion.d.ts +4 -3
- package/dist/components/aspect-ratio.d.ts +1 -1
- package/dist/components/avatar.d.ts +11 -4
- package/dist/components/badge.d.ts +1 -1
- package/dist/components/banner.d.ts +1 -1
- package/dist/components/breadcrumb.d.ts +1 -1
- package/dist/components/button.d.ts +1 -1
- package/dist/components/calendar.d.ts +1 -1
- package/dist/components/card.d.ts +2 -2
- package/dist/components/carousel.d.ts +11 -3
- package/dist/components/checkbox.d.ts +1 -1
- package/dist/components/collapsible.d.ts +7 -3
- package/dist/components/command.d.ts +18 -5
- package/dist/components/context-menu.d.ts +16 -6
- package/dist/components/credit-card-input.d.ts +3 -3
- package/dist/components/date-picker.d.ts +2 -2
- package/dist/components/datetime-picker.d.ts +1 -1
- package/dist/components/decimal-input.d.ts +1 -1
- package/dist/components/dialog.d.ts +8 -4
- package/dist/components/drawer.d.ts +28 -12
- package/dist/components/dropdown-menu.d.ts +17 -6
- package/dist/components/fieldset.d.ts +2 -2
- package/dist/components/file-input.d.ts +1 -1
- package/dist/components/footer.d.ts +2 -0
- package/dist/components/form-label.d.ts +1 -0
- package/dist/components/header.d.ts +18 -1
- package/dist/components/hover-card.d.ts +2 -1
- package/dist/components/input-otp.d.ts +1 -1
- package/dist/components/menubar.d.ts +18 -8
- package/dist/components/multi-select.d.ts +3 -1
- package/dist/components/navigation-drawer.d.ts +4 -1
- package/dist/components/navigation-menu.d.ts +7 -6
- package/dist/components/number-input.d.ts +1 -1
- package/dist/components/pagination.d.ts +5 -5
- package/dist/components/phone-input.d.ts +1 -1
- package/dist/components/popover.d.ts +4 -0
- package/dist/components/progress.d.ts +4 -0
- package/dist/components/radio-group.d.ts +2 -2
- package/dist/components/rich-text.d.ts +16 -2
- package/dist/components/scroll-area.d.ts +2 -2
- package/dist/components/search-input.d.ts +2 -2
- package/dist/components/segmented-control.d.ts +12 -0
- package/dist/components/select.d.ts +14 -4
- package/dist/components/separator.d.ts +3 -0
- package/dist/components/sheet.d.ts +9 -4
- package/dist/components/skeleton.d.ts +7 -1
- package/dist/components/slider.d.ts +1 -1
- package/dist/components/switch.d.ts +1 -1
- package/dist/components/table.d.ts +14 -4
- package/dist/components/tabs.d.ts +3 -3
- package/dist/components/time-input.d.ts +8 -2
- package/dist/components/toast.d.ts +1 -1
- package/dist/components/toggle-group.d.ts +5 -4
- package/dist/components/toggle.d.ts +1 -1
- package/dist/components/tooltip.d.ts +2 -1
- package/dist/compose-refs-BjfKuXXE.cjs +1 -0
- package/dist/compose-refs-E-AHfjCW.js +13 -0
- package/dist/{context-menu-Da5JJFgE.js → context-menu-BFvleIE-.js} +13 -13
- package/dist/context-menu-BZobMAds.cjs +1 -0
- package/dist/context-menu.cjs +1 -1
- package/dist/context-menu.js +1 -1
- package/dist/credit-card-input-C9XQgOxy.cjs +1 -0
- package/dist/{credit-card-input-YutN_krQ.js → credit-card-input-Cb6AsLGQ.js} +130 -85
- package/dist/credit-card-input.cjs +1 -1
- package/dist/credit-card-input.js +1 -1
- package/dist/date-picker-BVv2YLs_.cjs +1 -0
- package/dist/date-picker-Djsjwm-u.js +55 -0
- package/dist/date-picker.cjs +1 -1
- package/dist/date-picker.js +1 -1
- package/dist/datetime-picker-C61J5xlq.js +67 -0
- package/dist/datetime-picker-y1NZjhHU.cjs +1 -0
- package/dist/datetime-picker.cjs +1 -1
- package/dist/datetime-picker.js +1 -1
- package/dist/decimal-input-BLmifKF2.cjs +1 -0
- package/dist/{decimal-input-BAGAfAp7.js → decimal-input-yTk35W_5.js} +41 -41
- package/dist/decimal-input.cjs +1 -1
- package/dist/decimal-input.js +1 -1
- package/dist/dialog-B8uNe51F.cjs +1 -0
- package/dist/dialog-BVe6-J_z.js +59 -0
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.js +1 -1
- package/dist/drawer-91wrQ_5e.js +171 -0
- package/dist/drawer-DP-v9j83.cjs +1 -0
- package/dist/drawer.cjs +1 -1
- package/dist/drawer.js +2 -3
- package/dist/{dropdown-menu-BRhqJFtK.js → dropdown-menu-Bt3ofX5-.js} +41 -41
- package/dist/dropdown-menu-CaLsHigj.cjs +1 -0
- package/dist/dropdown-menu.cjs +1 -1
- package/dist/dropdown-menu.js +1 -1
- package/dist/email-input-2NVWxyYE.js +29 -0
- package/dist/email-input-BdHelX2L.cjs +1 -0
- package/dist/email-input.cjs +1 -1
- package/dist/email-input.js +1 -1
- package/dist/file-input-B_aBgxmT.js +189 -0
- package/dist/file-input-D62FEnKg.cjs +1 -0
- package/dist/file-input.cjs +1 -1
- package/dist/file-input.js +1 -1
- package/dist/footer-BRFOcyZi.cjs +1 -0
- package/dist/footer-BwnrDB4b.js +137 -0
- package/dist/footer.cjs +1 -1
- package/dist/footer.js +1 -1
- package/dist/form-label-Cqs0By3P.cjs +1 -0
- package/dist/form-label-DTxFDQDK.js +49 -0
- package/dist/form-label.cjs +1 -1
- package/dist/form-label.js +1 -1
- package/dist/header-BuYMVFXu.cjs +1 -0
- package/dist/header-DaxcTBn2.js +101 -0
- package/dist/header.cjs +1 -1
- package/dist/header.js +1 -1
- package/dist/hover-card-BN7Ew2Y1.js +16 -0
- package/dist/hover-card-Dft-08Ha.cjs +1 -0
- package/dist/hover-card.cjs +1 -1
- package/dist/hover-card.js +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.d.ts +1 -2
- package/dist/index.js +537 -459
- package/dist/inject-stylesheet-BK5pOlkI.js +9 -0
- package/dist/inject-stylesheet-j6SkUo-d.cjs +1 -0
- package/dist/{input-CFzV2DMn.js → input-BB26lFHB.js} +22 -21
- package/dist/input-BT3Z4cef.cjs +1 -0
- package/dist/input-otp-BWPRKJ4m.js +95 -0
- package/dist/input-otp-BYEy4XaO.cjs +1 -0
- package/dist/input-otp.cjs +1 -1
- package/dist/input-otp.js +1 -1
- package/dist/input.cjs +1 -1
- package/dist/input.js +1 -1
- package/dist/media-DBscX0uU.js +158 -0
- package/dist/media-YR5gOT0c.cjs +1 -0
- package/dist/media.cjs +1 -1
- package/dist/media.js +1 -1
- package/dist/menubar-B82Hp9r0.cjs +1 -0
- package/dist/{menubar-Du-kLZh6.js → menubar-DMZxna8-.js} +22 -22
- package/dist/menubar.cjs +1 -1
- package/dist/menubar.js +1 -1
- package/dist/multi-select-BbCvy9F4.js +76 -0
- package/dist/multi-select-CGe9JXis.cjs +1 -0
- package/dist/multi-select.cjs +1 -1
- package/dist/multi-select.js +1 -1
- package/dist/navigation-drawer-BVyE88EB.js +171 -0
- package/dist/navigation-drawer-CTUgzXW_.cjs +1 -0
- package/dist/navigation-drawer.cjs +1 -1
- package/dist/navigation-drawer.js +1 -1
- package/dist/navigation-menu-BjA-PdMY.js +58 -0
- package/dist/navigation-menu-BtpLfxHN.cjs +5 -0
- package/dist/navigation-menu.cjs +1 -1
- package/dist/navigation-menu.js +1 -1
- package/dist/number-input-CSe8MPy0.cjs +1 -0
- package/dist/number-input-CdWJfr6M.js +66 -0
- package/dist/number-input.cjs +1 -1
- package/dist/number-input.js +1 -1
- package/dist/pagination-8tmdKm4b.cjs +1 -0
- package/dist/pagination-BSIae9Rc.js +133 -0
- package/dist/pagination.cjs +1 -1
- package/dist/pagination.js +1 -1
- package/dist/password-input-Btz0Bnt-.js +90 -0
- package/dist/password-input-Cp0hQd_Z.cjs +1 -0
- package/dist/password-input.cjs +1 -1
- package/dist/password-input.js +1 -1
- package/dist/phone-input-CQ-VONKC.js +51 -0
- package/dist/phone-input-DTAr8VTY.cjs +1 -0
- package/dist/phone-input.cjs +1 -1
- package/dist/phone-input.js +1 -1
- package/dist/{popover-DQgrg789.js → popover-B_Kfx06V.js} +15 -15
- package/dist/popover-DJ5e6lwh.cjs +1 -0
- package/dist/popover.cjs +1 -1
- package/dist/popover.js +1 -1
- package/dist/providers/create-theme.d.ts +2 -2
- package/dist/providers/eluan-provider.d.ts +2 -2
- package/dist/radio-group-DIPxpnMD.js +12 -0
- package/dist/radio-group-DqrwDPd6.cjs +1 -0
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/rich-text-CY0lbdka.js +198 -0
- package/dist/rich-text-VsCx-RMe.cjs +73 -0
- package/dist/rich-text.cjs +1 -1
- package/dist/rich-text.js +1 -1
- package/dist/scroll-area-C8W9ZfZU.cjs +1 -0
- package/dist/{scroll-area-CEjpWCN2.js → scroll-area-D5PVICPR.js} +1 -1
- package/dist/scroll-area.cjs +1 -1
- package/dist/scroll-area.js +1 -1
- package/dist/search-input-C2F_NayM.cjs +1 -0
- package/dist/search-input-DOcH68qN.js +194 -0
- package/dist/search-input.cjs +1 -1
- package/dist/search-input.js +1 -1
- package/dist/select-DKjwZjvo.cjs +1 -0
- package/dist/{select-DikwRWF5.js → select-DY67JirM.js} +37 -37
- package/dist/select.cjs +1 -1
- package/dist/select.js +1 -1
- package/dist/{separator-DWK3Xd7q.cjs → separator-CBuhe8MC.cjs} +1 -1
- package/dist/{separator-DISe3E9K.js → separator-DSnHDXVK.js} +5 -3
- package/dist/separator.cjs +1 -1
- package/dist/separator.js +1 -1
- package/dist/sheet-BX5CahuG.cjs +1 -0
- package/dist/{sheet-BQy30PDl.js → sheet-C8A5eehq.js} +9 -9
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.js +1 -1
- package/dist/skeleton-CkBeschm.cjs +1 -0
- package/dist/skeleton-vHQIKF2a.js +41 -0
- package/dist/skeleton.cjs +1 -1
- package/dist/skeleton.js +1 -1
- package/dist/slider-CXYJmfQw.cjs +1 -0
- package/dist/slider-Dlxdjxxz.js +16 -0
- package/dist/slider.cjs +1 -1
- package/dist/slider.js +1 -1
- package/dist/{spinner-BidrZmnV.js → spinner-Bw6sQrNk.js} +2 -2
- package/dist/spinner-Cp218GAN.cjs +1 -0
- package/dist/spinner.cjs +1 -1
- package/dist/spinner.js +1 -1
- package/dist/{stepper-C7g_AewR.js → stepper-BtlKiHtd.js} +27 -27
- package/dist/stepper-D5nDwJUz.cjs +1 -0
- package/dist/stepper.cjs +1 -1
- package/dist/stepper.js +1 -1
- package/dist/styles.css +354 -291
- package/dist/switch-D1UO68fj.js +9 -0
- package/dist/switch-rRktfpbm.cjs +1 -0
- package/dist/switch.cjs +1 -1
- package/dist/switch.js +1 -1
- package/dist/tabs-BlohGs-G.cjs +1 -0
- package/dist/{tabs-D-T4lTOx.js → tabs-fIOp55Me.js} +8 -8
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/textarea-C5AVV2Wr.cjs +1 -0
- package/dist/textarea-DZmGU7QE.js +8 -0
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/time-input-CIDRBxQk.cjs +1 -0
- package/dist/time-input-eF_X9to1.js +195 -0
- package/dist/time-input.cjs +1 -1
- package/dist/time-input.js +1 -1
- package/dist/toggle-CSlk0ql9.cjs +1 -0
- package/dist/{toggle--M_Xcph3.js → toggle-f7Ym7n7Z.js} +15 -13
- package/dist/{toggle-group-CSWEdWiB.js → toggle-group-CAsy1xnG.js} +20 -25
- package/dist/toggle-group-CrAyoUON.cjs +1 -0
- package/dist/toggle-group.cjs +1 -1
- package/dist/toggle-group.js +1 -1
- package/dist/toggle.cjs +1 -1
- package/dist/toggle.js +1 -1
- package/dist/tree-view-B6pPS7dg.cjs +1 -0
- package/dist/tree-view-BE4eOyRw.js +92 -0
- package/dist/tree-view.cjs +1 -1
- package/dist/tree-view.js +1 -1
- package/dist/use-controllable-state-COlF-tdU.js +23 -0
- package/dist/use-controllable-state-D1HvlFwL.cjs +1 -0
- package/dist/utils/compose-refs.d.ts +15 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/inject-stylesheet.d.ts +7 -0
- package/dist/utils/use-controllable-state.d.ts +19 -0
- package/package.json +11 -13
- package/dist/accordion-CXia5iw_.js +0 -28
- package/dist/action-popover-Cbn19EbH.cjs +0 -1
- package/dist/action-popover-eGNn1j7S.js +0 -22
- package/dist/avatar-BsiJB5zR.js +0 -134
- package/dist/avatar-Caw6wXQN.cjs +0 -1
- package/dist/badge-CnJpMnon.cjs +0 -1
- package/dist/banner-D64jTKV8.cjs +0 -1
- package/dist/button-CT6_HUIx.cjs +0 -1
- package/dist/calendar-BzinprHi.js +0 -272
- package/dist/calendar-DyIe52PQ.cjs +0 -66
- package/dist/carousel-D8FSc_tM.cjs +0 -1
- package/dist/carousel-UUulZiGR.js +0 -125
- package/dist/checkbox-CR6mntVh.js +0 -10
- package/dist/checkbox-Cx5qbEn4.cjs +0 -1
- package/dist/checkbox-group-B-mimaCX.js +0 -81
- package/dist/checkbox-group-iKPfMVTu.cjs +0 -1
- package/dist/command-BWY863DY.cjs +0 -1
- package/dist/command-ButF6joJ.js +0 -99
- package/dist/components/header-navigation.d.ts +0 -18
- package/dist/components/timeline.d.ts +0 -34
- package/dist/context-menu-DQh1EvFX.cjs +0 -1
- package/dist/credit-card-input-BRv7r_Z_.cjs +0 -1
- package/dist/date-picker-DYsE7_v0.cjs +0 -1
- package/dist/date-picker-ioqGlU1x.js +0 -55
- package/dist/datetime-picker-BGa-aOfq.cjs +0 -1
- package/dist/datetime-picker-CRVKsoKc.js +0 -98
- package/dist/decimal-input-CtAZp5ka.cjs +0 -1
- package/dist/dialog-DAY0non_.js +0 -59
- package/dist/dialog-DaO5_1FE.cjs +0 -1
- package/dist/drawer-ChIEo1Vx.js +0 -161
- package/dist/drawer-DMmAzv-6.cjs +0 -1
- package/dist/dropdown-menu-CxRQEecr.cjs +0 -1
- package/dist/email-input-CiqmwAYT.cjs +0 -1
- package/dist/email-input-ZRXJoKUn.js +0 -29
- package/dist/file-input-BGTrB0cs.cjs +0 -1
- package/dist/file-input-BLs5K_r2.js +0 -227
- package/dist/footer-OvNxNb2K.cjs +0 -1
- package/dist/footer-hjSI-aUh.js +0 -117
- package/dist/form-label-5f53LEry.cjs +0 -1
- package/dist/form-label-Yt_CRHVE.js +0 -42
- package/dist/header-navigation-Kx7h7lMv.cjs +0 -1
- package/dist/header-navigation-_klqI2OP.js +0 -145
- package/dist/header-navigation.cjs +0 -1
- package/dist/header-navigation.d.ts +0 -1
- package/dist/header-navigation.js +0 -5
- package/dist/hover-card-B1c-blFU.js +0 -15
- package/dist/hover-card-DIvfJrUP.cjs +0 -1
- package/dist/input-CtFmiB4z.cjs +0 -1
- package/dist/input-otp-DK9DLJkj.cjs +0 -1
- package/dist/input-otp-aX3qLlEW.js +0 -88
- package/dist/media-CNlM4uDT.cjs +0 -1
- package/dist/media-ChW2bsnq.js +0 -158
- package/dist/menubar-BYX0L59g.cjs +0 -1
- package/dist/multi-select-C3VuEz8X.js +0 -70
- package/dist/multi-select-_DYPhuhp.cjs +0 -1
- package/dist/navigation-drawer-D--FbZEd.js +0 -155
- package/dist/navigation-drawer-WGKTRBl_.cjs +0 -1
- package/dist/navigation-menu-Cp5Qt84b.cjs +0 -1
- package/dist/navigation-menu-yQHp8kq5.js +0 -49
- package/dist/number-input-BdkF_YEo.js +0 -66
- package/dist/number-input-emzdVMCg.cjs +0 -1
- package/dist/pagination-BiEchkN6.cjs +0 -1
- package/dist/pagination-CohVWKa8.js +0 -136
- package/dist/password-input-CnkiwWVo.cjs +0 -1
- package/dist/password-input-DCg5E__k.js +0 -86
- package/dist/phone-input-Brm07Ltw.cjs +0 -1
- package/dist/phone-input-DFq6toxM.js +0 -51
- package/dist/popover-5z1it-o9.cjs +0 -1
- package/dist/radio-group-DMocn_bO.cjs +0 -1
- package/dist/radio-group-dLbtpuHm.js +0 -12
- package/dist/rich-text-B6Ogqw5B.cjs +0 -73
- package/dist/rich-text-DjthjUyA.js +0 -192
- package/dist/scroll-area-DZbd7b5b.cjs +0 -1
- package/dist/search-input-Dme1Kg69.cjs +0 -1
- package/dist/search-input-Dy6kVsR6.js +0 -193
- package/dist/select-VTNCKmzK.cjs +0 -1
- package/dist/sheet-DSAi4Blo.cjs +0 -1
- package/dist/skeleton-BPOckSeF.js +0 -8
- package/dist/skeleton-yXCPli60.cjs +0 -1
- package/dist/slider-Bjxl7b91.cjs +0 -1
- package/dist/slider-DXZyL3ev.js +0 -16
- package/dist/spinner-_aMavekm.cjs +0 -1
- package/dist/stepper-BtepQViL.cjs +0 -1
- package/dist/switch-Bi_OIsAH.cjs +0 -1
- package/dist/switch-wMC6HqKA.js +0 -9
- package/dist/tabs-BLFvzL-o.cjs +0 -1
- package/dist/test/setup.d.ts +0 -1
- package/dist/textarea-DXUk1b_-.js +0 -8
- package/dist/textarea-Dl-daLHR.cjs +0 -1
- package/dist/time-input-Dhhuxwh1.cjs +0 -1
- package/dist/time-input-DpukiDy9.js +0 -148
- package/dist/timeline-1iqp4rUU.js +0 -215
- package/dist/timeline-Dpeps0L2.cjs +0 -1
- package/dist/timeline.cjs +0 -1
- package/dist/timeline.d.ts +0 -1
- package/dist/timeline.js +0 -16
- package/dist/toggle-BUmAdWrJ.cjs +0 -1
- package/dist/toggle-group-CUL20lLE.cjs +0 -1
- package/dist/tree-view-BuhJmfCg.js +0 -84
- package/dist/tree-view-DsrzJV2W.cjs +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";"use strict";const p=require("react/jsx-runtime"),w=require("react"),k=require("@stylexjs/stylex"),R=require("prismjs"),N=require("lucide-react");function y(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const o=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,o.get?o:{enumerable:!0,get:()=>e[a]})}}return t.default=e,Object.freeze(t)}const I=y(w),F=y(k);Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/});Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}});Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}});Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript"));Prism.languages.js=Prism.languages.javascript;(function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript})(Prism);(function(e){var t=e.util.clone(e.languages.javascript),a=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,o=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,c=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function E(s,u){return s=s.replace(/<S>/g,function(){return a}).replace(/<BRACES>/g,function(){return o}).replace(/<SPREAD>/g,function(){return c}),RegExp(s,u)}c=E(c).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=E(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:E(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:E(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function(s){return s?typeof s=="string"?s:typeof s.content=="string"?s.content:s.content.map(i).join(""):""},A=function(s){for(var u=[],r=0;r<s.length;r++){var n=s[r],d=!1;if(typeof n!="string"&&(n.type==="tag"&&n.content[0]&&n.content[0].type==="tag"?n.content[0].content[0].content==="</"?u.length>0&&u[u.length-1].tagName===i(n.content[0].content[1])&&u.pop():n.content[n.content.length-1].content==="/>"||u.push({tagName:i(n.content[0].content[1]),openedBraces:0}):u.length>0&&n.type==="punctuation"&&n.content==="{"?u[u.length-1].openedBraces++:u.length>0&&u[u.length-1].openedBraces>0&&n.type==="punctuation"&&n.content==="}"?u[u.length-1].openedBraces--:d=!0),(d||typeof n=="string")&&u.length>0&&u[u.length-1].openedBraces===0){var l=i(n);r<s.length-1&&(typeof s[r+1]=="string"||s[r+1].type==="plain-text")&&(l+=i(s[r+1]),s.splice(r+1,1)),r>0&&(typeof s[r-1]=="string"||s[r-1].type==="plain-text")&&(l=i(s[r-1])+l,s.splice(r-1,1),r--),s[r]=new e.Token("plain-text",l,null,l)}n.content&&typeof n.content!="string"&&A(n.content)}};e.hooks.add("after-tokenize",function(s){s.language!=="jsx"&&s.language!=="tsx"||A(s.tokens)})})(Prism);(function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var a=e.languages.tsx.tag;a.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+a.pattern.source+")",a.pattern.flags),a.lookbehind=!0})(Prism);(function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var a=e.languages.markup;a&&(a.tag.addInlined("style","css"),a.tag.addAttribute("style","css"))})(Prism);Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}};Prism.languages.webmanifest=Prism.languages.json;(function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",a={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},o={bash:a,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:o},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:a}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:o},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:o.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:o.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},a.inside=e.languages.bash;for(var c=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],E=o.variable[1].inside,i=0;i<c.length;i++)E[c[i]]=e.languages.bash[c[i]];e.languages.sh=e.languages.bash,e.languages.shell=e.languages.bash})(Prism);Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/};Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python;Prism.languages.py=Prism.languages.python;(function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,a=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,o={pattern:RegExp(/(^|[^\w.])/.source+a+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[o,{pattern:RegExp(/(^|[^\w.])/.source+a+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:o.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+a+/[A-Z]\w*\b/.source),lookbehind:!0,inside:o.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":o,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+a+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:o.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+a+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:o.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(Prism);Prism.languages.go=Prism.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/});Prism.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}});delete Prism.languages.go["class-name"];(function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,a=0;a<2;a++)t=t.replace(/<self>/g,function(){return t});t=t.replace(/<self>/g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string})(Prism);Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/};(function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function a(r){return r=r.replace(/<inner>/g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+r+")")}var o=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,c=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return o}),E=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+c+E+"(?:"+c+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+c+E+")(?:"+c+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(o),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+c+")"+E+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+c+"$"),inside:{"table-header":{pattern:RegExp(o),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:a(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:a(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:a(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:a(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(r){["url","bold","italic","strike","code-snippet"].forEach(function(n){r!==n&&(e.languages.markdown[r].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(r){if(r.language!=="markdown"&&r.language!=="md")return;function n(d){if(!(!d||typeof d=="string"))for(var l=0,m=d.length;l<m;l++){var g=d[l];if(g.type!=="code"){n(g.content);continue}var b=g.content[1],f=g.content[3];if(b&&f&&b.type==="code-language"&&f.type==="code-block"&&typeof b.content=="string"){var S=b.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");S=(/[a-z][\w-]*/i.exec(S)||[""])[0].toLowerCase();var T="language-"+S;f.alias?typeof f.alias=="string"?f.alias=[f.alias,T]:f.alias.push(T):f.alias=[T]}}}n(r.tokens)}),e.hooks.add("wrap",function(r){if(r.type==="code-block"){for(var n="",d=0,l=r.classes.length;d<l;d++){var m=r.classes[d],g=/language-(.+)/.exec(m);if(g){n=g[1];break}}var b=e.languages[n];if(b)r.content=e.highlight(u(r.content),b,n);else if(n&&n!=="none"&&e.plugins.autoloader){var f="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);r.attributes.id=f,e.plugins.autoloader.loadLanguages(n,function(){var S=document.getElementById(f);S&&(S.innerHTML=e.highlight(S.textContent,e.languages[n],n))})}}});var i=RegExp(e.languages.markup.tag.pattern.source,"gi"),A={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;function u(r){var n=r.replace(i,"");return n=n.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(d,l){if(l=l.toLowerCase(),l[0]==="#"){var m;return l[1]==="x"?m=parseInt(l.slice(2),16):m=Number(l.slice(1)),s(m)}else{var g=A[l];return g||d}}),n}e.languages.md=e.languages.markdown})(Prism);(function(e){var t=/[*&][^\s[\]{},]+/,a=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,o="(?:"+a.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+a.source+")?)",c=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),E=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(A,s){s=(s||"").replace(/m/g,"")+"m";var u=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return o}).replace(/<<value>>/g,function(){return A});return RegExp(u,s)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return o})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return o}).replace(/<<key>>/g,function(){return"(?:"+c+"|"+E+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(E),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:a,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml})(Prism);const O=I.forwardRef(({code:e,language:t="text",showLineNumbers:a=!1,showCopyButton:o=!0,filename:c,highlightLines:E=[],languages:i,...A},s)=>{const[u,r]=I.useState(!1),[n,d]=I.useState(""),[l,m]=I.useState(0),g=i?i[l].code:e,b=i?i[l].language:t;I.useEffect(()=>{if(b!=="text"){const x=R.languages[b];d(x?R.highlight(g,x,b):g)}else d(g)},[g,b]);const f=async()=>{await navigator.clipboard.writeText(g),r(!0),setTimeout(()=>r(!1),2e3)},S=n.split(`
|
|
2
|
-
`),
|
|
1
|
+
"use client";"use strict";const p=require("react/jsx-runtime"),F=require("react"),L=require("@stylexjs/stylex"),R=require("prismjs"),N=require("lucide-react");function O(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const o=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,o.get?o:{enumerable:!0,get:()=>e[a]})}}return t.default=e,Object.freeze(t)}const T=O(F),_=O(L);Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/});Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}});Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}});Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript"));Prism.languages.js=Prism.languages.javascript;(function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript})(Prism);(function(e){var t=e.util.clone(e.languages.javascript),a=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,o=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,c=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function b(s,u){return s=s.replace(/<S>/g,function(){return a}).replace(/<BRACES>/g,function(){return o}).replace(/<SPREAD>/g,function(){return c}),RegExp(s,u)}c=b(c).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=b(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:b(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:b(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function(s){return s?typeof s=="string"?s:typeof s.content=="string"?s.content:s.content.map(i).join(""):""},A=function(s){for(var u=[],r=0;r<s.length;r++){var n=s[r],g=!1;if(typeof n!="string"&&(n.type==="tag"&&n.content[0]&&n.content[0].type==="tag"?n.content[0].content[0].content==="</"?u.length>0&&u[u.length-1].tagName===i(n.content[0].content[1])&&u.pop():n.content[n.content.length-1].content==="/>"||u.push({tagName:i(n.content[0].content[1]),openedBraces:0}):u.length>0&&n.type==="punctuation"&&n.content==="{"?u[u.length-1].openedBraces++:u.length>0&&u[u.length-1].openedBraces>0&&n.type==="punctuation"&&n.content==="}"?u[u.length-1].openedBraces--:g=!0),(g||typeof n=="string")&&u.length>0&&u[u.length-1].openedBraces===0){var l=i(n);r<s.length-1&&(typeof s[r+1]=="string"||s[r+1].type==="plain-text")&&(l+=i(s[r+1]),s.splice(r+1,1)),r>0&&(typeof s[r-1]=="string"||s[r-1].type==="plain-text")&&(l=i(s[r-1])+l,s.splice(r-1,1),r--),s[r]=new e.Token("plain-text",l,null,l)}n.content&&typeof n.content!="string"&&A(n.content)}};e.hooks.add("after-tokenize",function(s){s.language!=="jsx"&&s.language!=="tsx"||A(s.tokens)})})(Prism);(function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var a=e.languages.tsx.tag;a.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+a.pattern.source+")",a.pattern.flags),a.lookbehind=!0})(Prism);(function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var a=e.languages.markup;a&&(a.tag.addInlined("style","css"),a.tag.addAttribute("style","css"))})(Prism);Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}};Prism.languages.webmanifest=Prism.languages.json;(function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",a={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},o={bash:a,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:o},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:a}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:o},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:o.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:o.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},a.inside=e.languages.bash;for(var c=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],b=o.variable[1].inside,i=0;i<c.length;i++)b[c[i]]=e.languages.bash[c[i]];e.languages.sh=e.languages.bash,e.languages.shell=e.languages.bash})(Prism);Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/};Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python;Prism.languages.py=Prism.languages.python;(function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,a=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,o={pattern:RegExp(/(^|[^\w.])/.source+a+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[o,{pattern:RegExp(/(^|[^\w.])/.source+a+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:o.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+a+/[A-Z]\w*\b/.source),lookbehind:!0,inside:o.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":o,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+a+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:o.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+a+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:o.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(Prism);Prism.languages.go=Prism.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/});Prism.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}});delete Prism.languages.go["class-name"];(function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,a=0;a<2;a++)t=t.replace(/<self>/g,function(){return t});t=t.replace(/<self>/g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string})(Prism);Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/};(function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function a(r){return r=r.replace(/<inner>/g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+r+")")}var o=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,c=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return o}),b=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+c+b+"(?:"+c+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+c+b+")(?:"+c+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(o),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+c+")"+b+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+c+"$"),inside:{"table-header":{pattern:RegExp(o),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:a(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:a(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:a(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:a(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(r){["url","bold","italic","strike","code-snippet"].forEach(function(n){r!==n&&(e.languages.markdown[r].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(r){if(r.language!=="markdown"&&r.language!=="md")return;function n(g){if(!(!g||typeof g=="string"))for(var l=0,m=g.length;l<m;l++){var E=g[l];if(E.type!=="code"){n(E.content);continue}var f=E.content[1],d=E.content[3];if(f&&d&&f.type==="code-language"&&d.type==="code-block"&&typeof f.content=="string"){var S=f.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");S=(/[a-z][\w-]*/i.exec(S)||[""])[0].toLowerCase();var I="language-"+S;d.alias?typeof d.alias=="string"?d.alias=[d.alias,I]:d.alias.push(I):d.alias=[I]}}}n(r.tokens)}),e.hooks.add("wrap",function(r){if(r.type==="code-block"){for(var n="",g=0,l=r.classes.length;g<l;g++){var m=r.classes[g],E=/language-(.+)/.exec(m);if(E){n=E[1];break}}var f=e.languages[n];if(f)r.content=e.highlight(u(r.content),f,n);else if(n&&n!=="none"&&e.plugins.autoloader){var d="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);r.attributes.id=d,e.plugins.autoloader.loadLanguages(n,function(){var S=document.getElementById(d);S&&(S.innerHTML=e.highlight(S.textContent,e.languages[n],n))})}}});var i=RegExp(e.languages.markup.tag.pattern.source,"gi"),A={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;function u(r){var n=r.replace(i,"");return n=n.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(g,l){if(l=l.toLowerCase(),l[0]==="#"){var m;return l[1]==="x"?m=parseInt(l.slice(2),16):m=Number(l.slice(1)),s(m)}else{var E=A[l];return E||g}}),n}e.languages.md=e.languages.markdown})(Prism);(function(e){var t=/[*&][^\s[\]{},]+/,a=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,o="(?:"+a.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+a.source+")?)",c=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),b=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(A,s){s=(s||"").replace(/m/g,"")+"m";var u=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return o}).replace(/<<value>>/g,function(){return A});return RegExp(u,s)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return o})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return o}).replace(/<<key>>/g,function(){return"(?:"+c+"|"+b+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(b),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:a,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml})(Prism);const w=T.forwardRef(({code:e,language:t="text",showLineNumbers:a=!1,showCopyButton:o=!0,filename:c,highlightLines:b=[],languages:i,...A},s)=>{const[u,r]=T.useState(!1),[n,g]=T.useState(""),[l,m]=T.useState(0),E=T.useRef(null);T.useEffect(()=>()=>{E.current&&clearTimeout(E.current)},[]);const f=i?i[l].code:e,d=i?i[l].language:t;T.useEffect(()=>{if(d!=="text"){const h=R.languages[d];g(h?R.highlight(f,h,d):y(f))}else g(y(f))},[f,d]);const S=async()=>{await navigator.clipboard.writeText(f),r(!0),E.current&&clearTimeout(E.current),E.current=setTimeout(()=>r(!1),2e3)},I=n.split(`
|
|
2
|
+
`),k=c||o||i&&i.length>1;return p.jsxs("div",{ref:s,...A,className:"x1cqd74s xsdfdjn x9nsp9x x1y0btm7 xmkeg23 xa18zv3 x1eqnyfr x1n2onr6",children:[k&&p.jsxs("div",{className:"x6s0dn4 x1dyd9yc x1q0q8m5 xso031l x78zum5 xpfqfdi x1qughib xrtip4p x16pzmsl",children:[p.jsxs("div",{className:"x6s0dn4 x78zum5 xpfqfdi xw2csxc",children:[c&&p.jsx("span",{className:"xwa5xuj x2lah0s x51wmvv",children:c}),i&&i.length>1&&p.jsx("div",{className:"x6s0dn4 xtpsrvy x1brvnfc x78zum5 x1o29ju6 x2k5h2x",children:i.map((h,x)=>p.jsx("button",{type:"button",onClick:()=>m(x),...{0:{className:"xc342km x1kcekj6 x1ypdohk x51wmvv xk50ysn x14aypoh x1wu0y3b xx6bhzk x1yyhn7k xwji4o3 xjbqb8w x1uuraw0 x1leyzdx"},1:{className:"xc342km x1kcekj6 x1ypdohk x51wmvv xk50ysn x14aypoh x1wu0y3b xx6bhzk x1yyhn7k xwji4o3 x11tn5dx xv186zg x1vmo3ik"}}[(x===l)<<0],children:h.label??h.language},h.language+x))})]}),o&&p.jsx("button",{type:"button",onClick:S,className:"x6s0dn4 xjbqb8w x1kcekj6 xc342km x1uuraw0 x1ypdohk x78zum5 x2lah0s x51wmvv x1o29ju6 x8x9d4c x136oad8 x1wu0y3b x3wwfir x1leyzdx",children:u?p.jsxs(p.Fragment,{children:[p.jsx(N.Check,{"aria-hidden":"true",className:"x1kpxq89 xsmyaan"}),"Copied"]}):p.jsxs(p.Fragment,{children:[p.jsx(N.Copy,{"aria-hidden":"true",className:"x1kpxq89 xsmyaan"}),"Copy"]})})]}),p.jsx("div",{className:"xw2csxc x11omchh",children:p.jsx("pre",{className:`${v(C.pre)} language-${d}`,children:p.jsx("code",{className:`language-${d}`,children:I.map((h,x)=>p.jsxs("div",{...{0:{className:"x17mssa0"},1:{className:"x17mssa0 xy8psvg xxucxnl x16pzmsl"}}[!!b.includes(x+1)<<0],children:[a&&p.jsx("span",{className:"xwa5xuj x1rg5ohu xdmqks8 x1hr2gdg x87ps6o xooyq8t",children:x+1}),p.jsx("span",{dangerouslySetInnerHTML:{__html:h||" "}})]},x))})})})]})});w.displayName="CodeBlock";function v(...e){return _.props(...e).className??""}function y(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const C={pre:{kMv6JI:"xpw0y0u",kGuDYH:"x1eqnyfr",kqGvvJ:"x10im51j",$$css:!0}};exports.CodeBlock=w;
|
package/dist/code-block.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./code-block-
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./code-block-DsJwW6oD.cjs");exports.CodeBlock=e.CodeBlock;
|
package/dist/code-block.js
CHANGED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use client";"use strict";const e=require("react/jsx-runtime"),k=require("react"),s=require("cmdk"),g=require("lucide-react"),t=require("./dialog-B8uNe51F.cjs"),N=require("./separator-CBuhe8MC.cjs");function b(a){const x=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const m in a)if(m!=="default"){const o=Object.getOwnPropertyDescriptor(a,m);Object.defineProperty(x,m,o.get?o:{enumerable:!0,get:()=>a[m]})}}return x.default=a,Object.freeze(x)}const n=b(k),r=n.createContext("default"),h=`
|
|
2
|
+
.eluan-command [cmdk-group-heading] {
|
|
3
|
+
color: var(--container-fg-alt);
|
|
4
|
+
font-size: var(--font-size-xs);
|
|
5
|
+
font-weight: 500;
|
|
6
|
+
padding-block: var(--spacing-xs);
|
|
7
|
+
padding-inline: var(--spacing-xs);
|
|
8
|
+
}
|
|
9
|
+
`,d=n.forwardRef(({children:a,...x},m)=>{const o=n.useContext(r),{className:j,style:C}={0:{className:"x1dyo0bm x1brvnfc xa18zv3 x78zum5 xdt5ytf x5yr21d xb3r6kr xh8yej3"},1:{className:"x1dyo0bm x1brvnfc xa18zv3 x78zum5 xdt5ytf x5yr21d xb3r6kr xh8yej3 xsdfdjn x1y0btm7 xmkeg23 x1g5awrf"}}[(o==="default")<<0];return e.jsxs(s.Command,{ref:m,...x,className:`${j??""} eluan-command`,style:C,children:[e.jsx("style",{children:h}),a]})});d.displayName=s.Command.displayName;const v=({children:a,title:x="Command Menu",description:m="Search for a command to run.",...o})=>e.jsx(t.Dialog,{...o,children:e.jsxs(t.DialogContent,{layout:"command",children:[e.jsxs("div",{className:"xc342km xzpqnlu xjm9jq1 xkdpibf xb3r6kr x1717udv x10l6tqk xuxw1ft x1i1rx1s",children:[e.jsx(t.DialogTitle,{children:x}),e.jsx(t.DialogDescription,{children:m})]}),e.jsx(r.Provider,{value:"dialog",children:e.jsx(d,{children:a})})]})}),c=n.forwardRef(({density:a="default",...x},m)=>{const o=n.useContext(r);return e.jsxs("div",{className:"x6s0dn4 x1dyd9yc x1q0q8m5 xso031l x78zum5 x1wu0y3b","cmdk-input-wrapper":"",children:[e.jsx(g.Search,{"aria-hidden":"true",...{0:{className:"x2lah0s xkive58 x1mcl426 xbyyjgo x1vfp87d"},1:{className:"x2lah0s x1mcl426 xbyyjgo xybwzzh x1gtyvus"}}[(o==="dialog")<<0]}),e.jsx(s.Command.Input,{ref:m,...x,...{0:{className:"xjbqb8w xc342km x1brvnfc x1sjp1m2 x78zum5 x1eqnyfr xlev6zl x1t137rt xv0kgt4 xh8yej3 x1ha2oyl xvp245x x1qg2s8m x1s07b3s"},1:{className:"xjbqb8w xc342km x1brvnfc x1sjp1m2 x78zum5 x1eqnyfr x1t137rt xv0kgt4 xh8yej3 x1ha2oyl xvp245x x1qg2s8m x1s07b3s x1h5pcsu"}}[(a==="compact")<<0]})]})});c.displayName=s.Command.Input.displayName;const l=n.forwardRef(({...a},x)=>e.jsx(s.Command.List,{ref:x,...a,className:"xje9jw6 x6ikm8r x1odjw0f"}));l.displayName=s.Command.List.displayName;const i=n.forwardRef(({tone:a="default",...x},m)=>e.jsx(s.Command.Empty,{ref:m,...x,...{0:{className:"x1eqnyfr x18ykd1o x2b8uid"},1:{className:"x1eqnyfr x2b8uid x1uuraw0 xv0kgt4"}}[(a==="muted")<<0]}));i.displayName=s.Command.Empty.displayName;const p=n.forwardRef(({...a},x)=>e.jsx(s.Command.Group,{ref:x,...a,className:"x1sjp1m2 xb3r6kr x1mae58o"}));p.displayName=s.Command.Group.displayName;const u=n.forwardRef(({...a},x)=>e.jsx(s.Command.Separator,{asChild:!0,...a,children:e.jsx(N.Separator,{ref:x,variant:"command"})}));u.displayName=s.Command.Separator.displayName;const y=n.forwardRef(({selected:a=!1,...x},m)=>{const o=n.useContext(r);return e.jsx(s.Command.Item,{ref:m,...x,...{0:{className:"x6s0dn4 x1kcekj6 xt0e3qv x78zum5 x1eqnyfr x10ci2pi x1t137rt x136oad8 x16ic5xr x1n2onr6 x87ps6o xg6y555 x6cohk3 x12meyfc x1xd8k93 x1m42rp4"},2:{className:"x6s0dn4 x1kcekj6 xt0e3qv x78zum5 x1eqnyfr x10ci2pi x1t137rt x1n2onr6 x87ps6o xg6y555 x6cohk3 x12meyfc x1xd8k93 x1m42rp4 xrtip4p x1wu0y3b"},1:{className:"x6s0dn4 x1kcekj6 xt0e3qv x78zum5 x1eqnyfr x10ci2pi x1t137rt x136oad8 x16ic5xr x1n2onr6 x87ps6o xg6y555 x6cohk3 x12meyfc x1xd8k93 x1m42rp4 x1sjp1m2 xk50ysn"},3:{className:"x6s0dn4 x1kcekj6 xt0e3qv x78zum5 x1eqnyfr x10ci2pi x1t137rt x1n2onr6 x87ps6o xg6y555 x6cohk3 x12meyfc x1xd8k93 x1m42rp4 xrtip4p x1wu0y3b x1sjp1m2 xk50ysn"}}[(o==="dialog")<<1|!!a<<0]})});y.displayName=s.Command.Item.displayName;const f=({...a})=>e.jsx("span",{...a,className:"xwa5xuj x51wmvv x1dor1uw x8x9d4c"});f.displayName="CommandShortcut";exports.Command=d;exports.CommandDialog=v;exports.CommandEmpty=i;exports.CommandGroup=p;exports.CommandInput=c;exports.CommandItem=y;exports.CommandList=l;exports.CommandSeparator=u;exports.CommandShortcut=f;
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
3
|
+
import * as m from "react";
|
|
4
|
+
import { Command as s } from "cmdk";
|
|
5
|
+
import { Search as i } from "lucide-react";
|
|
6
|
+
import { D as p, b as y, h as f, c as u } from "./dialog-BVe6-J_z.js";
|
|
7
|
+
import { S as k } from "./separator-DSnHDXVK.js";
|
|
8
|
+
const n = m.createContext("default"), h = `
|
|
9
|
+
.eluan-command [cmdk-group-heading] {
|
|
10
|
+
color: var(--container-fg-alt);
|
|
11
|
+
font-size: var(--font-size-xs);
|
|
12
|
+
font-weight: 500;
|
|
13
|
+
padding-block: var(--spacing-xs);
|
|
14
|
+
padding-inline: var(--spacing-xs);
|
|
15
|
+
}
|
|
16
|
+
`, d = m.forwardRef(({
|
|
17
|
+
children: x,
|
|
18
|
+
...a
|
|
19
|
+
}, r) => {
|
|
20
|
+
const o = m.useContext(n), {
|
|
21
|
+
className: c,
|
|
22
|
+
style: l
|
|
23
|
+
} = {
|
|
24
|
+
0: {
|
|
25
|
+
className: "x1dyo0bm x1brvnfc xa18zv3 x78zum5 xdt5ytf x5yr21d xb3r6kr xh8yej3"
|
|
26
|
+
},
|
|
27
|
+
1: {
|
|
28
|
+
className: "x1dyo0bm x1brvnfc xa18zv3 x78zum5 xdt5ytf x5yr21d xb3r6kr xh8yej3 xsdfdjn x1y0btm7 xmkeg23 x1g5awrf"
|
|
29
|
+
}
|
|
30
|
+
}[(o === "default") << 0];
|
|
31
|
+
return /* @__PURE__ */ t(s, { ref: r, ...a, className: `${c ?? ""} eluan-command`, style: l, children: [
|
|
32
|
+
/* @__PURE__ */ e("style", { children: h }),
|
|
33
|
+
x
|
|
34
|
+
] });
|
|
35
|
+
});
|
|
36
|
+
d.displayName = s.displayName;
|
|
37
|
+
const I = ({
|
|
38
|
+
children: x,
|
|
39
|
+
title: a = "Command Menu",
|
|
40
|
+
description: r = "Search for a command to run.",
|
|
41
|
+
...o
|
|
42
|
+
}) => /* @__PURE__ */ e(p, { ...o, children: /* @__PURE__ */ t(y, { layout: "command", children: [
|
|
43
|
+
/* @__PURE__ */ t("div", { className: "xc342km xzpqnlu xjm9jq1 xkdpibf xb3r6kr x1717udv x10l6tqk xuxw1ft x1i1rx1s", children: [
|
|
44
|
+
/* @__PURE__ */ e(f, { children: a }),
|
|
45
|
+
/* @__PURE__ */ e(u, { children: r })
|
|
46
|
+
] }),
|
|
47
|
+
/* @__PURE__ */ e(n.Provider, { value: "dialog", children: /* @__PURE__ */ e(d, { children: x }) })
|
|
48
|
+
] }) }), N = m.forwardRef(({
|
|
49
|
+
density: x = "default",
|
|
50
|
+
...a
|
|
51
|
+
}, r) => {
|
|
52
|
+
const o = m.useContext(n);
|
|
53
|
+
return /* @__PURE__ */ t("div", { className: "x6s0dn4 x1dyd9yc x1q0q8m5 xso031l x78zum5 x1wu0y3b", "cmdk-input-wrapper": "", children: [
|
|
54
|
+
/* @__PURE__ */ e(i, { "aria-hidden": "true", ...{
|
|
55
|
+
0: {
|
|
56
|
+
className: "x2lah0s xkive58 x1mcl426 xbyyjgo x1vfp87d"
|
|
57
|
+
},
|
|
58
|
+
1: {
|
|
59
|
+
className: "x2lah0s x1mcl426 xbyyjgo xybwzzh x1gtyvus"
|
|
60
|
+
}
|
|
61
|
+
}[(o === "dialog") << 0] }),
|
|
62
|
+
/* @__PURE__ */ e(s.Input, { ref: r, ...a, ...{
|
|
63
|
+
0: {
|
|
64
|
+
className: "xjbqb8w xc342km x1brvnfc x1sjp1m2 x78zum5 x1eqnyfr xlev6zl x1t137rt xv0kgt4 xh8yej3 x1ha2oyl xvp245x x1qg2s8m x1s07b3s"
|
|
65
|
+
},
|
|
66
|
+
1: {
|
|
67
|
+
className: "xjbqb8w xc342km x1brvnfc x1sjp1m2 x78zum5 x1eqnyfr x1t137rt xv0kgt4 xh8yej3 x1ha2oyl xvp245x x1qg2s8m x1s07b3s x1h5pcsu"
|
|
68
|
+
}
|
|
69
|
+
}[(x === "compact") << 0] })
|
|
70
|
+
] });
|
|
71
|
+
});
|
|
72
|
+
N.displayName = s.Input.displayName;
|
|
73
|
+
const g = m.forwardRef(({
|
|
74
|
+
...x
|
|
75
|
+
}, a) => /* @__PURE__ */ e(s.List, { ref: a, ...x, className: "xje9jw6 x6ikm8r x1odjw0f" }));
|
|
76
|
+
g.displayName = s.List.displayName;
|
|
77
|
+
const v = m.forwardRef(({
|
|
78
|
+
tone: x = "default",
|
|
79
|
+
...a
|
|
80
|
+
}, r) => /* @__PURE__ */ e(s.Empty, { ref: r, ...a, ...{
|
|
81
|
+
0: {
|
|
82
|
+
className: "x1eqnyfr x18ykd1o x2b8uid"
|
|
83
|
+
},
|
|
84
|
+
1: {
|
|
85
|
+
className: "x1eqnyfr x2b8uid x1uuraw0 xv0kgt4"
|
|
86
|
+
}
|
|
87
|
+
}[(x === "muted") << 0] }));
|
|
88
|
+
v.displayName = s.Empty.displayName;
|
|
89
|
+
const b = m.forwardRef(({
|
|
90
|
+
...x
|
|
91
|
+
}, a) => /* @__PURE__ */ e(s.Group, { ref: a, ...x, className: "x1sjp1m2 xb3r6kr x1mae58o" }));
|
|
92
|
+
b.displayName = s.Group.displayName;
|
|
93
|
+
const j = m.forwardRef(({
|
|
94
|
+
...x
|
|
95
|
+
}, a) => /* @__PURE__ */ e(s.Separator, { asChild: !0, ...x, children: /* @__PURE__ */ e(k, { ref: a, variant: "command" }) }));
|
|
96
|
+
j.displayName = s.Separator.displayName;
|
|
97
|
+
const w = m.forwardRef(({
|
|
98
|
+
selected: x = !1,
|
|
99
|
+
...a
|
|
100
|
+
}, r) => {
|
|
101
|
+
const o = m.useContext(n);
|
|
102
|
+
return /* @__PURE__ */ e(s.Item, { ref: r, ...a, ...{
|
|
103
|
+
0: {
|
|
104
|
+
className: "x6s0dn4 x1kcekj6 xt0e3qv x78zum5 x1eqnyfr x10ci2pi x1t137rt x136oad8 x16ic5xr x1n2onr6 x87ps6o xg6y555 x6cohk3 x12meyfc x1xd8k93 x1m42rp4"
|
|
105
|
+
},
|
|
106
|
+
2: {
|
|
107
|
+
className: "x6s0dn4 x1kcekj6 xt0e3qv x78zum5 x1eqnyfr x10ci2pi x1t137rt x1n2onr6 x87ps6o xg6y555 x6cohk3 x12meyfc x1xd8k93 x1m42rp4 xrtip4p x1wu0y3b"
|
|
108
|
+
},
|
|
109
|
+
1: {
|
|
110
|
+
className: "x6s0dn4 x1kcekj6 xt0e3qv x78zum5 x1eqnyfr x10ci2pi x1t137rt x136oad8 x16ic5xr x1n2onr6 x87ps6o xg6y555 x6cohk3 x12meyfc x1xd8k93 x1m42rp4 x1sjp1m2 xk50ysn"
|
|
111
|
+
},
|
|
112
|
+
3: {
|
|
113
|
+
className: "x6s0dn4 x1kcekj6 xt0e3qv x78zum5 x1eqnyfr x10ci2pi x1t137rt x1n2onr6 x87ps6o xg6y555 x6cohk3 x12meyfc x1xd8k93 x1m42rp4 xrtip4p x1wu0y3b x1sjp1m2 xk50ysn"
|
|
114
|
+
}
|
|
115
|
+
}[(o === "dialog") << 1 | !!x << 0] });
|
|
116
|
+
});
|
|
117
|
+
w.displayName = s.Item.displayName;
|
|
118
|
+
const C = ({
|
|
119
|
+
...x
|
|
120
|
+
}) => /* @__PURE__ */ e("span", { ...x, className: "xwa5xuj x51wmvv x1dor1uw x8x9d4c" });
|
|
121
|
+
C.displayName = "CommandShortcut";
|
|
122
|
+
export {
|
|
123
|
+
d as C,
|
|
124
|
+
I as a,
|
|
125
|
+
v as b,
|
|
126
|
+
b as c,
|
|
127
|
+
N as d,
|
|
128
|
+
w as e,
|
|
129
|
+
g as f,
|
|
130
|
+
j as g,
|
|
131
|
+
C as h
|
|
132
|
+
};
|
package/dist/command.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./command-
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./command-C3oAkkaa.cjs");exports.Command=m.Command;exports.CommandDialog=m.CommandDialog;exports.CommandEmpty=m.CommandEmpty;exports.CommandGroup=m.CommandGroup;exports.CommandInput=m.CommandInput;exports.CommandItem=m.CommandItem;exports.CommandList=m.CommandList;exports.CommandSeparator=m.CommandSeparator;exports.CommandShortcut=m.CommandShortcut;
|
package/dist/command.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { C as o, a as n, b as s, c as d, d as C, e as t, f as e, g as r, h as p } from "./command-
|
|
2
|
+
import { C as o, a as n, b as s, c as d, d as C, e as t, f as e, g as r, h as p } from "./command-D1iTMmyh.js";
|
|
3
3
|
export {
|
|
4
4
|
o as Command,
|
|
5
5
|
n as CommandDialog,
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as AccordionPrimitive from "@radix-ui/react-accordion";
|
|
3
3
|
declare const Accordion: React.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
-
type AccordionItemProps = Omit<React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item>, "className" | "style">;
|
|
5
|
-
type AccordionTriggerProps = Omit<React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Trigger>, "className" | "style">;
|
|
6
|
-
type AccordionContentProps = Omit<React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Content>, "className" | "style">;
|
|
4
|
+
export type AccordionItemProps = Omit<React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item>, "className" | "style">;
|
|
5
|
+
export type AccordionTriggerProps = Omit<React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Trigger>, "className" | "style">;
|
|
6
|
+
export type AccordionContentProps = Omit<React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Content>, "className" | "style">;
|
|
7
7
|
declare const AccordionItem: React.ForwardRefExoticComponent<AccordionItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
8
8
|
declare const AccordionTrigger: React.ForwardRefExoticComponent<AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
9
9
|
declare const AccordionContent: React.ForwardRefExoticComponent<AccordionContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
10
|
export { Accordion, AccordionItem, AccordionTrigger, AccordionContent };
|
|
11
|
+
export type AccordionProps = React.ComponentProps<typeof Accordion>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio";
|
|
3
|
-
type AspectRatioProps = Omit<React.ComponentPropsWithoutRef<typeof AspectRatioPrimitive.Root>, "className" | "style">;
|
|
3
|
+
export type AspectRatioProps = Omit<React.ComponentPropsWithoutRef<typeof AspectRatioPrimitive.Root>, "className" | "style">;
|
|
4
4
|
declare const AspectRatio: React.ForwardRefExoticComponent<AspectRatioProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
5
|
export { AspectRatio };
|
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
3
|
-
type AvatarProps = Omit<React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>, "className" | "style">;
|
|
3
|
+
export type AvatarProps = Omit<React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>, "className" | "style">;
|
|
4
4
|
declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLSpanElement>>;
|
|
5
|
-
type AvatarImageProps = Omit<React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Image>, "className" | "style">;
|
|
5
|
+
export type AvatarImageProps = Omit<React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Image>, "className" | "style">;
|
|
6
6
|
declare const AvatarImage: React.ForwardRefExoticComponent<AvatarImageProps & React.RefAttributes<HTMLImageElement>>;
|
|
7
|
-
type AvatarFallbackProps = Omit<React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Fallback>, "className" | "style">;
|
|
7
|
+
export type AvatarFallbackProps = Omit<React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Fallback>, "className" | "style">;
|
|
8
8
|
declare const AvatarFallback: React.ForwardRefExoticComponent<AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>>;
|
|
9
9
|
type AvatarPosition = "top-right" | "bottom-right" | "top-left" | "bottom-left";
|
|
10
|
+
export type AvatarBadgeProps = Omit<React.HTMLAttributes<HTMLSpanElement>, "className" | "style"> & {
|
|
11
|
+
position?: "top-right" | "bottom-right" | "top-left" | "bottom-left";
|
|
12
|
+
/** Display a numeric count inside the badge. When provided, the badge enlarges to fit the number. */
|
|
13
|
+
count?: number;
|
|
14
|
+
/** Maximum count to display; values above show "max+" (e.g. "99+"). Default 99. */
|
|
15
|
+
max?: number;
|
|
16
|
+
};
|
|
10
17
|
declare const AvatarBadge: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLSpanElement>, "style" | "className"> & {
|
|
11
18
|
position?: "top-right" | "bottom-right" | "top-left" | "bottom-left";
|
|
12
19
|
/** Display a numeric count inside the badge. When provided, the badge enlarges to fit the number. */
|
|
@@ -14,7 +21,7 @@ declare const AvatarBadge: React.ForwardRefExoticComponent<Omit<React.HTMLAttrib
|
|
|
14
21
|
/** Maximum count to display; values above show "max+" (e.g. "99+"). Default 99. */
|
|
15
22
|
max?: number;
|
|
16
23
|
} & React.RefAttributes<HTMLSpanElement>>;
|
|
17
|
-
type AvatarStatusProps = {
|
|
24
|
+
export type AvatarStatusProps = {
|
|
18
25
|
status: "online" | "offline" | "busy" | "away";
|
|
19
26
|
position?: AvatarPosition;
|
|
20
27
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
export type BadgeVariant = "default" | "secondary" | "destructive" | "outline" | "positive" | "
|
|
2
|
+
export type BadgeVariant = "default" | "secondary" | "destructive" | "outline" | "positive" | "caution" | "informative" | "important";
|
|
3
3
|
export type BadgeSize = "default" | "microdot";
|
|
4
4
|
export interface BadgeProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "className" | "style"> {
|
|
5
5
|
/** Show a remove button — call onRemove when clicked */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
export type BannerVariant = "default" | "destructive" | "
|
|
2
|
+
export type BannerVariant = "default" | "destructive" | "caution" | "positive" | "informative" | "neutral";
|
|
3
3
|
export type BannerPosition = "top" | "bottom" | "inline";
|
|
4
4
|
export interface BannerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "className" | "style"> {
|
|
5
5
|
action?: React.ReactNode;
|
|
@@ -12,7 +12,7 @@ declare const BreadcrumbSeparator: {
|
|
|
12
12
|
({ children, ...props }: Omit<React.ComponentProps<"li">, "className" | "style">): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
displayName: string;
|
|
14
14
|
};
|
|
15
|
-
interface BreadcrumbEllipsisProps {
|
|
15
|
+
export interface BreadcrumbEllipsisProps {
|
|
16
16
|
/** Pass collapsed breadcrumb items to show in the dropdown */
|
|
17
17
|
items?: {
|
|
18
18
|
label: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
export type ButtonVariant = "default" | "destructive" | "caution" | "positive" | "outline" | "dashed" | "secondary" | "ghost" | "mutedGhost" | "dangerGhost" | "fadedGhost" | "input" | "inputMuted" | "link";
|
|
3
|
-
export type ButtonSize = "default" | "sm" | "lg" | "icon" | "
|
|
3
|
+
export type ButtonSize = "default" | "sm" | "lg" | "icon" | "iconSm" | "iconXs" | "iconInline";
|
|
4
4
|
export type ButtonAlign = "center" | "start";
|
|
5
5
|
export type ButtonAttachment = "none" | "start" | "end";
|
|
6
6
|
export type ButtonShape = "default" | "round";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { DayPicker } from "react-day-picker";
|
|
3
3
|
export type CalendarProps = React.ComponentProps<typeof DayPicker>;
|
|
4
|
-
declare function Calendar({ showOutsideDays, disabled, components, ...props }: CalendarProps & {
|
|
4
|
+
declare function Calendar({ showOutsideDays, disabled, components, month: monthProp, defaultMonth, onMonthChange, ...props }: CalendarProps & {
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
}): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
declare namespace Calendar {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
export type CardElevation = "none" | "sm" | "md" | "lg";
|
|
3
|
-
interface CardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "className" | "style"> {
|
|
3
|
+
export interface CardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "className" | "style"> {
|
|
4
4
|
/** Makes the card interactive — adds hover elevation + cursor pointer */
|
|
5
5
|
clickable?: boolean;
|
|
6
6
|
/** Elevation level controls shadow depth */
|
|
7
7
|
elevation?: CardElevation;
|
|
8
8
|
}
|
|
9
|
-
type CardSectionProps = Omit<React.HTMLAttributes<HTMLDivElement>, "className" | "style">;
|
|
9
|
+
export type CardSectionProps = Omit<React.HTMLAttributes<HTMLDivElement>, "className" | "style">;
|
|
10
10
|
declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
|
|
11
11
|
declare const CardHeader: React.ForwardRefExoticComponent<CardSectionProps & React.RefAttributes<HTMLDivElement>>;
|
|
12
12
|
declare const CardTitle: React.ForwardRefExoticComponent<CardSectionProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -11,8 +11,16 @@ type CarouselProps = {
|
|
|
11
11
|
setApi?: (api: CarouselApi) => void;
|
|
12
12
|
};
|
|
13
13
|
declare const Carousel: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, "style" | "className"> & CarouselProps & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
-
declare const CarouselContent: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, "style" | "className"> &
|
|
15
|
-
|
|
14
|
+
declare const CarouselContent: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, "style" | "className"> & {
|
|
15
|
+
/** Fixed viewport size along the scroll axis — required for vertical
|
|
16
|
+
* carousels, where Embla needs a bounded height. */
|
|
17
|
+
viewportHeight?: number | string;
|
|
18
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
19
|
+
export type CarouselItemBasis = "full" | "half" | "third";
|
|
20
|
+
declare const CarouselItem: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, "style" | "className"> & {
|
|
21
|
+
/** Fraction of the viewport each slide occupies. Default "full". */
|
|
22
|
+
basis?: CarouselItemBasis;
|
|
23
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
16
24
|
declare const CarouselPrevious: React.ForwardRefExoticComponent<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "style" | "className"> & React.RefAttributes<HTMLButtonElement>>;
|
|
17
25
|
declare const CarouselNext: React.ForwardRefExoticComponent<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "style" | "className"> & React.RefAttributes<HTMLButtonElement>>;
|
|
18
|
-
export { type CarouselApi, Carousel, CarouselContent, CarouselItem, CarouselPrevious, CarouselNext, };
|
|
26
|
+
export { type CarouselApi, type CarouselProps, Carousel, CarouselContent, CarouselItem, CarouselPrevious, CarouselNext, };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
3
|
-
type CheckboxProps = Omit<React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>, "className" | "style">;
|
|
3
|
+
export type CheckboxProps = Omit<React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>, "className" | "style">;
|
|
4
4
|
declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLButtonElement>>;
|
|
5
5
|
export { Checkbox };
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
1
2
|
import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
|
|
2
|
-
declare const Collapsible:
|
|
3
|
-
declare const CollapsibleTrigger:
|
|
4
|
-
declare const CollapsibleContent:
|
|
3
|
+
declare const Collapsible: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const CollapsibleTrigger: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
declare const CollapsibleContent: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export type CollapsibleProps = React.ComponentProps<typeof Collapsible>;
|
|
7
|
+
export type CollapsibleTriggerProps = React.ComponentProps<typeof CollapsibleTrigger>;
|
|
8
|
+
export type CollapsibleContentProps = React.ComponentProps<typeof CollapsibleContent>;
|
|
5
9
|
export { Collapsible, CollapsibleTrigger, CollapsibleContent };
|
|
@@ -1,12 +1,25 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { type DialogProps } from "@radix-ui/react-dialog";
|
|
3
3
|
import { Command as CommandPrimitive } from "cmdk";
|
|
4
|
-
type CommandProps = Omit<React.ComponentPropsWithoutRef<typeof CommandPrimitive>, "className" | "style">;
|
|
5
|
-
type
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
export type CommandProps = Omit<React.ComponentPropsWithoutRef<typeof CommandPrimitive>, "className" | "style">;
|
|
5
|
+
export type CommandDialogProps = DialogProps & {
|
|
6
|
+
title?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
};
|
|
9
|
+
export type CommandInputProps = Omit<React.ComponentPropsWithoutRef<typeof CommandPrimitive.Input>, "className" | "size" | "style"> & {
|
|
10
|
+
density?: "default" | "compact";
|
|
11
|
+
};
|
|
12
|
+
export type CommandListProps = Omit<React.ComponentPropsWithoutRef<typeof CommandPrimitive.List>, "className" | "style">;
|
|
13
|
+
export type CommandEmptyProps = Omit<React.ComponentPropsWithoutRef<typeof CommandPrimitive.Empty>, "className" | "style"> & {
|
|
14
|
+
tone?: "default" | "muted";
|
|
15
|
+
};
|
|
16
|
+
export type CommandGroupProps = Omit<React.ComponentPropsWithoutRef<typeof CommandPrimitive.Group>, "className" | "style">;
|
|
17
|
+
export type CommandItemProps = Omit<React.ComponentPropsWithoutRef<typeof CommandPrimitive.Item>, "className" | "style"> & {
|
|
18
|
+
selected?: boolean;
|
|
19
|
+
};
|
|
20
|
+
export type CommandShortcutProps = Omit<React.HTMLAttributes<HTMLSpanElement>, "className" | "style">;
|
|
8
21
|
declare const Command: React.ForwardRefExoticComponent<CommandProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
declare const CommandDialog: ({ children, ...props }:
|
|
22
|
+
declare const CommandDialog: ({ children, title, description, ...props }: CommandDialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
23
|
declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
|
|
11
24
|
ref?: React.Ref<HTMLInputElement>;
|
|
12
25
|
} & {
|